package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

/**
 * @author cjr
 */
@Data
@Builder
public class VideoListResponse {
    @ApiModelProperty(value = "视频列表", dataType = "VideoListResponse.Video")
    private PageResponse2<Video> videoPage;

    @ApiModel("VideoListResponse.Video")
    @Data
    @Builder
    public static class Video {
        @ApiModelProperty("视频ID")
        private Integer videoId;
        @ApiModelProperty("封面")
        private String coverUrl;
        @ApiModelProperty("标题")
        private String title;

        @ApiModelProperty("播放量")
        private Long viewNum;
        @ApiModelProperty("点赞数")
        private Integer collectNum;
    }
}
